<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8" isELIgnored="false"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>login</title>
</head>
<body>
  <div style="margin-left:30%;background:#80FFFF;margin-right:40%;">
      <h2 style="margin-left:40%">登录</h2>
    <form action="login" method="post">
      <label>name:</label><input name="name"/><span style="color:red;">${nameMsg }</span><br><br>
      <label>pass:</label><input name="pwd" type="password"/><span style="color:red;">${pwdMsg }</span><br><br>
       <button type = "submit">login</button>
    </form>
  
  </div>
</body>
</html>